package com.market.service;

import com.market.entity.Role;

import java.util.List;

/**
 * @author :  KanShan
 * @version : 1.8
 * @Date: 2021/12/01/20:41
 * @注释 :
 */
public interface RoleService {
    int insertRole(Role role);
    int updateRole(Role role);
    int deleteRole(Long id );
    List<Role>findRole();
    List<Role>findRoleByIdOrName(String s);
}
